<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<link rel="stylesheet" type="text/css" href="/mobile/css/base.css"/>
<script type="text/javascript" src="/common/js/zepto.js"></script>
<script type="text/javascript" src="/mobile/scripts/context.js" ></script>
<script type="text/javascript" src="/app/scripts/common_lib.js"></script>
<title></title>
<style type="text/css">
body {
	margin: 0px;
}
#table-bottom { 
	width:100%; 
	height:35px;	
	line-height:35px; 
	background:#333;
	color: #CCC;
	position:absolute;
	bottom: 0;
}

</style>
</head>
<body>
	<table cellpadding="2" id="table-bottom">
		<tr>
	   	  <td width="33%" align="center" nowrap="nowrap" id="account" style="border-right:1px solid #000" onclick="parent.location.href='notice.html'"><img src="/mobile/images/s_home.png" style="margin-top:-3px" width="18" height="18" align="absmiddle" /> 代购须知</td>
	   	  <td width="33%" align="center" nowrap="nowrap" id="account" style="border-right:1px solid #000" onclick="goService()"><img src="/mobile/images/s_user.png" style="margin-top:-3px" width="18" height="18" align="absmiddle" /> 用户中心</td>
	   	  <td width="33%" align="center" nowrap="nowrap" id="account" style="" onclick="parent.location.href='cart.html'"><img src="/mobile/images/s_car.png" style="margin-top:-3px" width="18" height="18" align="absmiddle" /> 购物车</td>
	    </tr>
	</table>
</body>

<script type="text/javascript">
	function goService() {
		var url = "/user/state";
		cjl.get(url, {}, function(state) {
			if(state) {
				window.parent.location.href="/mobile/service.html";
			} else {
				window.parent.location.href="/mobile/login.html?jump=service";
			}
		});
	}
</script>
</html>